<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>财务明细 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /></head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"} 
<div class="uright">
<div class="mwz"><li class="cur"><a>财务明细</a></li><li class="prompt r"> {foreach($prompt as $v)}{$v.name}:<font color="{$v.color}">{$v.money}</font> {/foreach}</li></div>
<form class="layui-form">
<div class="mso buy">
<ul class='Search-box'>
<div class="layui-inline">
 <label class="layui-form-label" style="width:auto;padding:6px 10px 6px 15px;">订单号</label>
 <div class="layui-input-inline">
<input name="pro" class="layui-input Search-inp" placeholder="关联订单号" style="width:110px;" value="" maxlength="20" type="text"> 
</div> 
</div> 

<div class="layui-inline">
	<label class="layui-form-label" style="width:auto;padding:6px 10px 6px 10px;">时间</label>
	<div class="layui-input-inline" style="width:88px;">
		<input type="text" placeholder="起始时间" name="stime" value="" class="layui-input Search-inp" style="width:88px" id="LAY_demorange_s">
	</div>
	<div class="layui-input-inline">-</div>
	<div class="layui-input-inline" style="width:88px;">
		<input type="text" name="etime" value="" class="layui-input Search-inp" style="width:88px" placeholder="结束时间" id="LAY_demorange_e">
	</div>
</div>
<div class="layui-inline">
	<label class="layui-form-label" style="width:auto;padding-right:10px;">类型</label>
	<div class="layui-input-inline" style="width:70px;">
	<select name="income">
		<option value="">全部</option>
		<option value="">全部</option>
		<option value="add" >收入</option>
		<option value="subtract" >支出</option>
	</select>
	</div>

</div>
<div class="layui-inline">
	<label class="layui-form-label" style="width:auto;padding-right:10px;">场景</label>
	<div class="layui-input-inline" style="width:90px;">
	<select name="type">
	<option value="" >全部</option>
	<option value="" >全部</option>
	<option value="order" >交易</option>
	<option value="pay" >充值</option>
	<option value="cashed" >提现</option>
	<option value="promotion" >推广</option>
	<option value="bond" >保证金</option>
	<option value="claims" >消保赔付</option>
	<option value="idcard" >身份认证</option>
	<option value="company" >企业认证</option>
	<option value="manual" >其他</option>
	</select>
	</div>
</div>

<div class="layui-input-inline" style="width:60px;">
	<a class="layui-btn layui-btn-danger Search-btn" style="margin-left:10px;" onclick="Urls('/member/lists/money');">搜索</a>
</div>

</ul>
</div>
</form>
<table class="tablelist">
<thead>
    <tr>
			<td width="8%">类型</td>
            <td width="20%">时间</td>
			<td width="14%">金额</td>
            <td width="36%">备注</td>
			<td width="15%">订单号</td>
    </tr>
    </thead>
<tbody>
{foreach($data as $v)} 
<tr>
<td>{if($v.moneynum > 0)}<font color=#0b9a00><b>收入</b></font>{else}<font color=red><b>支出</b></font>{/if}</td>
<td>{:ifsj($v.sj)}</td>
<td>{if($v.moneynum > 0)}<font color=#0b9a00>+</font>{else}<font color=red>-</font>{/if} {:str_replace('-',null,$v.moneynum)}</td>
<td>{$v.tit}</td>
<td><a href="javascript:void(0);" style="color:#333">{$v.bh}</a></td>
</tr> 
{/foreach}
  </tbody>
    </table>
 {if($upage != null)}
 <div class="control">
 <div class="upage">{$upage}</div>
 </div>{/if}
   
 </div>
 </div>
{include file="bottom"}<script language="javascript">
 layui.use(['form','laydate'], function(){
 var form = layui.form(), laydate = layui.laydate,start = {
	 max: '2099-06-16 23:59:59'
	,format: 'YYYY-MM-DD'
    ,istoday: false
	,fixed: true 
    ,choose: function(datas){
      end.min = datas; //开始日选好后，重置结束日的最小日期
      end.start = datas //将结束日的初始值设定为开始日
    }
  };
  
  var end = {
	 max: '2099-06-16 23:59:59'
	,format: 'YYYY-MM-DD'
    ,istoday: false
	,fixed: true 
    ,choose: function(datas){
      start.max = datas; //结束日选好后，重置开始日的最大日期
    }
  };
  
  document.getElementById('LAY_demorange_s').onclick = function(){
    start.elem = this;
    laydate(start);
  }
  document.getElementById('LAY_demorange_e').onclick = function(){
    end.elem = this
    laydate(end);
  }

 });
</script>
</body>
</html>